/**
 * 
 */
package vn.edu.ctu.cit.se.android.karfinder;

import android.view.View;
import android.widget.TextView;

/**
 * @author Val
 *
 */
public class SongHolder {
	private View base;
	private TextView songIDAndTitle;
	private TextView songLyrics;

	public SongHolder(View base) {
		songIDAndTitle = songLyrics = null;
		this.base = base;
	}

	public TextView getSongIDAndTitle() {
		if (this.songIDAndTitle == null){
			this.songIDAndTitle = (TextView)base.findViewById(R.id.tvSongIDAndTitle);
		}
		return songIDAndTitle;
	}

	public TextView getSongLyrics() {
		if (this.songLyrics == null) {
			this.songLyrics = (TextView)base.findViewById(R.id.tvSongLyrics);
		}
		return songLyrics;
	}
}
